package com.secure.orm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.secure.core.dao.IGenericDao;
import com.secure.core.service.GenericService;
import com.secure.orm.dao.PayOrderDao;
import com.secure.orm.model.PayOrder;
import com.secure.orm.service.PayOrderService;

@Service("payOrderService")
public class PayOrderServiceImpl extends GenericService<PayOrder, Long> implements PayOrderService {
	@Autowired
	PayOrderDao dao;
	@Override
	public PayOrder findByOrderId(String orderId) {
		return dao.findByOrderId(orderId);
	}

	@Override
	public IGenericDao<PayOrder, Long> getDao() {
		return dao;
	}
	
	
}
